﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace QL_NOI_TRU
{
    public partial class frmCapNhatloaiPhauThuat : DevExpress.XtraEditors.XtraForm
    {
        public frmCapNhatloaiPhauThuat()
        {
            InitializeComponent();
        }

        private void frmCapNhatloaiPhauThuat_Load(object sender, EventArgs e)
        {
            //do du lieu vao grid
            var kn = new Ketnoi(frmDangnhap.stringConn);
            gridControl1.DataSource = kn.ExcuteQuery("select MAPT as 'Mã phòng phẫu thuật',MOTA as 'Mô tả',CHIPHI as 'Chi phí' from LOAI_PHAU_THUAT");
        }
    }
}